home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_076
/
include
/
devices
/
timer.g
< prev
next >
Wrap
Text File
|
1992-05-06
|
521b
|
27 lines
/* requires previous inclusion of include:exec/io.g */
type
timeval_t = struct {
ulong tv_secs, tv_micro;
},
timerequest_t = struct {
IORequest_t tr_node;
timeval_t tr_time;
};
uint
UNIT_MICROHZ = 0,
UINT_VBLANK = 1;
*char TIMERNAME = "timer.device";
uint
TR_ADDREQUEST = CMD_NONSTD,
TR_GETSYSTIME = CMD_NONSTD+1,
TR_SETSYSTIME = CMD_NONSTD+1;
extern
AddTime(*timeval_t dest, source)void,
CmpTime(*timeval_t dest, source)int,
SubTime(*timeval_t dest, source)void;